<?php

namespace AdminBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Inflector\Inflector;

/**
 * HuobiCalcKline1min
 *
 * @ORM\Table(name="huobi_calc_kline_1min")
 * @ORM\Entity(repositoryClass="AdminBundle\Repository\HuobiCalcKline1minRepository")
 */
class HuobiCalcKline1min
{
    /**
     * @var string
     *
     * @ORM\Column(name="coin", type="string", length=45, nullable=false)
     */
    private $coin = '';

    /**
     * @var integer
     *
     * @ORM\Column(name="time_stamp", type="integer", nullable=false)
     */
    private $timeStamp = '0';

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="coin_time", type="datetime", nullable=false)
     */
    private $coinTime;

    /**
     * @var string
     *
     * @ORM\Column(name="open_1min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $open1min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_1min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $close1min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_1min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amount1min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="low_1min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $low1min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="high_1min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $high1min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="open_3min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $open3min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_3min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $close3min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_sum_3mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountSum3mins = '0.0000000000000000';

    /**
     * @var integer
     *
     * @ORM\Column(name="down_count_3mins", type="integer", nullable=false)
     */
    private $downCount3mins = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="up_count_3mins", type="integer", nullable=false)
     */
    private $upCount3mins = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="open_5min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $open5min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_5min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $close5min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_sum_5mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountSum5mins = '0.0000000000000000';

    /**
     * @var integer
     *
     * @ORM\Column(name="down_count_5mins", type="integer", nullable=false)
     */
    private $downCount5mins = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="up_count_5mins", type="integer", nullable=false)
     */
    private $upCount5mins = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="open_7min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $open7min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_7min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $close7min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_sum_7mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountSum7mins = '0.0000000000000000';

    /**
     * @var integer
     *
     * @ORM\Column(name="down_count_7mins", type="integer", nullable=false)
     */
    private $downCount7mins = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="up_count_7mins", type="integer", nullable=false)
     */
    private $upCount7mins = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="open_10min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $open10min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_10min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $close10min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_sum_10mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountSum10mins = '0.0000000000000000';

    /**
     * @var integer
     *
     * @ORM\Column(name="down_count_10mins", type="integer", nullable=false)
     */
    private $downCount10mins = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="up_count_10mins", type="integer", nullable=false)
     */
    private $upCount10mins = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="open_15min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $open15min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_15min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $close15min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_sum_15mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountSum15mins = '0.0000000000000000';

    /**
     * @var integer
     *
     * @ORM\Column(name="down_count_15mins", type="integer", nullable=false)
     */
    private $downCount15mins = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="up_count_15mins", type="integer", nullable=false)
     */
    private $upCount15mins = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="open_20min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $open20min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_20min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $close20min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_sum_20mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountSum20mins = '0.0000000000000000';

    /**
     * @var integer
     *
     * @ORM\Column(name="down_count_20mins", type="integer", nullable=false)
     */
    private $downCount20mins = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="up_count_20mins", type="integer", nullable=false)
     */
    private $upCount20mins = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="open_30min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $open30min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_30min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $close30min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_sum_30mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountSum30mins = '0.0000000000000000';

    /**
     * @var integer
     *
     * @ORM\Column(name="down_count_30mins", type="integer", nullable=false)
     */
    private $downCount30mins = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="up_count_30mins", type="integer", nullable=false)
     */
    private $upCount30mins = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="open_60min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $open60min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_60min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $close60min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_sum_60mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountSum60mins = '0.0000000000000000';

    /**
     * @var integer
     *
     * @ORM\Column(name="down_count_60mins", type="integer", nullable=false)
     */
    private $downCount60mins = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="up_count_60mins", type="integer", nullable=false)
     */
    private $upCount60mins = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="open_120min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $open120min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_120min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $close120min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_sum_120mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountSum120mins = '0.0000000000000000';

    /**
     * @var integer
     *
     * @ORM\Column(name="down_count_120mins", type="integer", nullable=false)
     */
    private $downCount120mins = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="up_count_120mins", type="integer", nullable=false)
     */
    private $upCount120mins = '0';


    /**
     * @var string
     *
     * @ORM\Column(name="open_180min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $open180min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_180min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $close180min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_sum_180mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountSum180mins = '0.0000000000000000';

    /**
     * @var integer
     *
     * @ORM\Column(name="down_count_180mins", type="integer", nullable=false)
     */
    private $downCount180mins = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="up_count_180mins", type="integer", nullable=false)
     */
    private $upCount180mins = '0';


    /**
     * @var string
     *
     * @ORM\Column(name="open_240min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $open240min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_240min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $close240min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_sum_240mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountSum240mins = '0.0000000000000000';

    /**
     * @var integer
     *
     * @ORM\Column(name="down_count_240mins", type="integer", nullable=false)
     */
    private $downCount240mins = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="up_count_240mins", type="integer", nullable=false)
     */
    private $upCount240mins = '0';

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="ctime", type="datetime", nullable=false)
     */
    private $ctime = 'CURRENT_TIMESTAMP';

    /**
     * @var string
     *
     * @ORM\Column(name="ma_5_mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $ma5mins = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="ma_10_mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $ma10mins = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="ma_30_mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $ma30mins = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="ma_60_mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $ma60mins = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_max_60min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $closeMax60min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_max_60mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountMax60mins = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_max_120min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $closeMax120min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_max_120mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountMax120mins = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_max_180min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $closeMax180min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_max_180mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountMax180mins = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_max_240min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $closeMax240min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="amount_max_240mins", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $amountMax240mins = '0.0000000000000000';

    /**
     * @var float
     *
     * @ORM\Column(name="rsi_5mins", type="float", nullable=false)
     */
    private $rsi5mins = '0.0';

    /**
     * @var float
     *
     * @ORM\Column(name="rsi_10mins", type="float", nullable=false)
     */
    private $rsi10mins = '0.0';

    /**
     * @var float
     *
     * @ORM\Column(name="rsi_20mins", type="float", nullable=false)
     */
    private $rsi20mins = '0.0';

    /**
     * @var float
     *
     * @ORM\Column(name="rsi_30mins", type="float", nullable=false)
     */
    private $rsi30mins = '0.0';

    /**
     * @var float
     *
     * @ORM\Column(name="k_5mins", type="float", nullable=false)
     */
    private $k5mins = '50.0';

    /**
     * @var float
     *
     * @ORM\Column(name="d_5mins", type="float", nullable=false)
     */
    private $d5mins = '50.0';

    /**
     * @var float
     *
     * @ORM\Column(name="j_5mins", type="float", nullable=false)
     */
    private $j5mins = '0.0';

    /**
     * @var float
     *
     * @ORM\Column(name="rsv_5mins", type="float", nullable=false)
     */
    private $rsv5mins = '0.0';

    /**
     * @var float
     *
     * @ORM\Column(name="k_10mins", type="float", nullable=false)
     */
    private $k10mins = '50.0';

    /**
     * @var float
     *
     * @ORM\Column(name="d_10mins", type="float", nullable=false)
     */
    private $d10mins = '50.0';

    /**
     * @var float
     *
     * @ORM\Column(name="j_10mins", type="float", nullable=false)
     */
    private $j10mins = '0.0';

    /**
     * @var float
     *
     * @ORM\Column(name="rsv_10mins", type="float", nullable=false)
     */
    private $rsv10mins = '0.0';


    /**
     * @var string
     *
     * @ORM\Column(name="close_min_20min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $closeMin180min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_min_30min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $closeMin30min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_min_60min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $closeMin60min = '0.0000000000000000';

    /**
     * @var string
     *
     * @ORM\Column(name="close_min_120min", type="decimal", precision=32, scale=16, nullable=false)
     */
    private $closeMin120min = '0.0000000000000000';


    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    public function __construct($data = [])
    {
        foreach ($data as $key => $value) {
            $var_name = Inflector::camelize($key);
            if (property_exists($this, $var_name)) {
                $this->$var_name = $value;
            }
        }
        $this->ctime = new \DateTime();
    }

    public function __call($name, $arguments)
    {
        $prefix = substr($name, 0, 3);
        $var_name = substr($name, 3);

//        $fieldName = lcfirst(\Doctrine\Common\Util\Inflector::classify($var_name));
        $fieldName = Inflector::camelize($var_name);

        if (!property_exists($this, $fieldName)) {
//            throw new Exception('not exists.');
            return $this;
        }

        switch ($prefix) {
            case 'get':
                return $this->$fieldName;
            case 'set':
                $this->$fieldName = $arguments[0];
                return $this;
            default:
                throw new Exception('only set or get.');
        }
    }

    /**
     * Set coin
     *
     * @param string $coin
     *
     * @return HuobiCalcKline1min
     */
    public function setCoin($coin)
    {
        $this->coin = $coin;

        return $this;
    }

    /**
     * Get coin
     *
     * @return string
     */
    public function getCoin()
    {
        return $this->coin;
    }

    /**
     * Set timeStamp
     *
     * @param integer $timeStamp
     *
     * @return HuobiCalcKline1min
     */
    public function setTimeStamp($timeStamp)
    {
        $this->timeStamp = $timeStamp;

        return $this;
    }

    /**
     * Get timeStamp
     *
     * @return integer
     */
    public function getTimeStamp()
    {
        return $this->timeStamp;
    }

    /**
     * Set coinTime
     *
     * @param \DateTime $coinTime
     *
     * @return HuobiCalcKline1min
     */
    public function setCoinTime($coinTime)
    {
        $this->coinTime = $coinTime;

        return $this;
    }

    /**
     * Get coinTime
     *
     * @return \DateTime
     */
    public function getCoinTime()
    {
        return $this->coinTime;
    }

    /**
     * Set open1min
     *
     * @param string $open1min
     *
     * @return HuobiCalcKline1min
     */
    public function setOpen1min($open1min)
    {
        $this->open1min = $open1min;

        return $this;
    }

    /**
     * Get open1min
     *
     * @return string
     */
    public function getOpen1min()
    {
        return $this->open1min;
    }

    /**
     * Set close1min
     *
     * @param string $close1min
     *
     * @return HuobiCalcKline1min
     */
    public function setClose1min($close1min)
    {
        $this->close1min = $close1min;

        return $this;
    }

    /**
     * Get close1min
     *
     * @return string
     */
    public function getClose1min()
    {
        return $this->close1min;
    }

    /**
     * Set amount1min
     *
     * @param string $amount1min
     *
     * @return HuobiCalcKline1min
     */
    public function setAmount1min($amount1min)
    {
        $this->amount1min = $amount1min;

        return $this;
    }

    /**
     * Get amount1min
     *
     * @return string
     */
    public function getAmount1min()
    {
        return $this->amount1min;
    }

    /**
     * Set low1min
     *
     * @param string $low1min
     *
     * @return HuobiCalcKline1min
     */
    public function setLow1min($low1min)
    {
        $this->low1min = $low1min;

        return $this;
    }

    /**
     * Get low1min
     *
     * @return string
     */
    public function getLow1min()
    {
        return $this->low1min;
    }

    /**
     * Set high1min
     *
     * @param string $high1min
     *
     * @return HuobiCalcKline1min
     */
    public function setHigh1min($high1min)
    {
        $this->high1min = $high1min;

        return $this;
    }

    /**
     * Get high1min
     *
     * @return string
     */
    public function getHigh1min()
    {
        return $this->high1min;
    }

    /**
     * Set open3min
     *
     * @param string $open3min
     *
     * @return HuobiCalcKline1min
     */
    public function setOpen3min($open3min)
    {
        $this->open3min = $open3min;

        return $this;
    }

    /**
     * Get open3min
     *
     * @return string
     */
    public function getOpen3min()
    {
        return $this->open3min;
    }

    /**
     * Set close3min
     *
     * @param string $close3min
     *
     * @return HuobiCalcKline1min
     */
    public function setClose3min($close3min)
    {
        $this->close3min = $close3min;

        return $this;
    }

    /**
     * Get close3min
     *
     * @return string
     */
    public function getClose3min()
    {
        return $this->close3min;
    }

    /**
     * Set amountSum3mins
     *
     * @param string $amountSum3mins
     *
     * @return HuobiCalcKline1min
     */
    public function setAmountSum3mins($amountSum3mins)
    {
        $this->amountSum3mins = $amountSum3mins;

        return $this;
    }

    /**
     * Get amountSum3mins
     *
     * @return string
     */
    public function getAmountSum3mins()
    {
        return $this->amountSum3mins;
    }

    /**
     * Set downCount3mins
     *
     * @param integer $downCount3mins
     *
     * @return HuobiCalcKline1min
     */
    public function setDownCount3mins($downCount3mins)
    {
        $this->downCount3mins = $downCount3mins;

        return $this;
    }

    /**
     * Get downCount3mins
     *
     * @return integer
     */
    public function getDownCount3mins()
    {
        return $this->downCount3mins;
    }

    /**
     * Set upCount3mins
     *
     * @param integer $upCount3mins
     *
     * @return HuobiCalcKline1min
     */
    public function setUpCount3mins($upCount3mins)
    {
        $this->upCount3mins = $upCount3mins;

        return $this;
    }

    /**
     * Get upCount3mins
     *
     * @return integer
     */
    public function getUpCount3mins()
    {
        return $this->upCount3mins;
    }

    /**
     * Set open5min
     *
     * @param string $open5min
     *
     * @return HuobiCalcKline1min
     */
    public function setOpen5min($open5min)
    {
        $this->open5min = $open5min;

        return $this;
    }

    /**
     * Get open5min
     *
     * @return string
     */
    public function getOpen5min()
    {
        return $this->open5min;
    }

    /**
     * Set close5min
     *
     * @param string $close5min
     *
     * @return HuobiCalcKline1min
     */
    public function setClose5min($close5min)
    {
        $this->close5min = $close5min;

        return $this;
    }

    /**
     * Get close5min
     *
     * @return string
     */
    public function getClose5min()
    {
        return $this->close5min;
    }

    /**
     * Set amountSum5mins
     *
     * @param string $amountSum5mins
     *
     * @return HuobiCalcKline1min
     */
    public function setAmountSum5mins($amountSum5mins)
    {
        $this->amountSum5mins = $amountSum5mins;

        return $this;
    }

    /**
     * Get amountSum5mins
     *
     * @return string
     */
    public function getAmountSum5mins()
    {
        return $this->amountSum5mins;
    }

    /**
     * Set downCount5mins
     *
     * @param integer $downCount5mins
     *
     * @return HuobiCalcKline1min
     */
    public function setDownCount5mins($downCount5mins)
    {
        $this->downCount5mins = $downCount5mins;

        return $this;
    }

    /**
     * Get downCount5mins
     *
     * @return integer
     */
    public function getDownCount5mins()
    {
        return $this->downCount5mins;
    }

    /**
     * Set upCount5mins
     *
     * @param integer $upCount5mins
     *
     * @return HuobiCalcKline1min
     */
    public function setUpCount5mins($upCount5mins)
    {
        $this->upCount5mins = $upCount5mins;

        return $this;
    }

    /**
     * Get upCount5mins
     *
     * @return integer
     */
    public function getUpCount5mins()
    {
        return $this->upCount5mins;
    }

    /**
     * Set open10min
     *
     * @param string $open10min
     *
     * @return HuobiCalcKline1min
     */
    public function setOpen10min($open10min)
    {
        $this->open10min = $open10min;

        return $this;
    }

    /**
     * Get open10min
     *
     * @return string
     */
    public function getOpen10min()
    {
        return $this->open10min;
    }

    /**
     * Set close10min
     *
     * @param string $close10min
     *
     * @return HuobiCalcKline1min
     */
    public function setClose10min($close10min)
    {
        $this->close10min = $close10min;

        return $this;
    }

    /**
     * Get close10min
     *
     * @return string
     */
    public function getClose10min()
    {
        return $this->close10min;
    }

    /**
     * Set amountSum10mins
     *
     * @param string $amountSum10mins
     *
     * @return HuobiCalcKline1min
     */
    public function setAmountSum10mins($amountSum10mins)
    {
        $this->amountSum10mins = $amountSum10mins;

        return $this;
    }

    /**
     * Get amountSum10mins
     *
     * @return string
     */
    public function getAmountSum10mins()
    {
        return $this->amountSum10mins;
    }

    /**
     * Set downCount10mins
     *
     * @param integer $downCount10mins
     *
     * @return HuobiCalcKline1min
     */
    public function setDownCount10mins($downCount10mins)
    {
        $this->downCount10mins = $downCount10mins;

        return $this;
    }

    /**
     * Get downCount10mins
     *
     * @return integer
     */
    public function getDownCount10mins()
    {
        return $this->downCount10mins;
    }

    /**
     * Set upCount10mins
     *
     * @param integer $upCount10mins
     *
     * @return HuobiCalcKline1min
     */
    public function setUpCount10mins($upCount10mins)
    {
        $this->upCount10mins = $upCount10mins;

        return $this;
    }

    /**
     * Get upCount10mins
     *
     * @return integer
     */
    public function getUpCount10mins()
    {
        return $this->upCount10mins;
    }

    /**
     * Set open15min
     *
     * @param string $open15min
     *
     * @return HuobiCalcKline1min
     */
    public function setOpen15min($open15min)
    {
        $this->open15min = $open15min;

        return $this;
    }

    /**
     * Get open15min
     *
     * @return string
     */
    public function getOpen15min()
    {
        return $this->open15min;
    }

    /**
     * Set close15min
     *
     * @param string $close15min
     *
     * @return HuobiCalcKline1min
     */
    public function setClose15min($close15min)
    {
        $this->close15min = $close15min;

        return $this;
    }

    /**
     * Get close15min
     *
     * @return string
     */
    public function getClose15min()
    {
        return $this->close15min;
    }

    /**
     * Set amountSum15mins
     *
     * @param string $amountSum15mins
     *
     * @return HuobiCalcKline1min
     */
    public function setAmountSum15mins($amountSum15mins)
    {
        $this->amountSum15mins = $amountSum15mins;

        return $this;
    }

    /**
     * Get amountSum15mins
     *
     * @return string
     */
    public function getAmountSum15mins()
    {
        return $this->amountSum15mins;
    }

    /**
     * Set downCount15mins
     *
     * @param integer $downCount15mins
     *
     * @return HuobiCalcKline1min
     */
    public function setDownCount15mins($downCount15mins)
    {
        $this->downCount15mins = $downCount15mins;

        return $this;
    }

    /**
     * Get downCount15mins
     *
     * @return integer
     */
    public function getDownCount15mins()
    {
        return $this->downCount15mins;
    }

    /**
     * Set upCount15mins
     *
     * @param integer $upCount15mins
     *
     * @return HuobiCalcKline1min
     */
    public function setUpCount15mins($upCount15mins)
    {
        $this->upCount15mins = $upCount15mins;

        return $this;
    }

    /**
     * Get upCount15mins
     *
     * @return integer
     */
    public function getUpCount15mins()
    {
        return $this->upCount15mins;
    }

    /**
     * Set open30min
     *
     * @param string $open30min
     *
     * @return HuobiCalcKline1min
     */
    public function setOpen30min($open30min)
    {
        $this->open30min = $open30min;

        return $this;
    }

    /**
     * Get open30min
     *
     * @return string
     */
    public function getOpen30min()
    {
        return $this->open30min;
    }

    /**
     * Set close30min
     *
     * @param string $close30min
     *
     * @return HuobiCalcKline1min
     */
    public function setClose30min($close30min)
    {
        $this->close30min = $close30min;

        return $this;
    }

    /**
     * Get close30min
     *
     * @return string
     */
    public function getClose30min()
    {
        return $this->close30min;
    }

    /**
     * Set amountSum30mins
     *
     * @param string $amountSum30mins
     *
     * @return HuobiCalcKline1min
     */
    public function setAmountSum30mins($amountSum30mins)
    {
        $this->amountSum30mins = $amountSum30mins;

        return $this;
    }

    /**
     * Get amountSum30mins
     *
     * @return string
     */
    public function getAmountSum30mins()
    {
        return $this->amountSum30mins;
    }

    /**
     * Set downCount30mins
     *
     * @param integer $downCount30mins
     *
     * @return HuobiCalcKline1min
     */
    public function setDownCount30mins($downCount30mins)
    {
        $this->downCount30mins = $downCount30mins;

        return $this;
    }

    /**
     * Get downCount30mins
     *
     * @return integer
     */
    public function getDownCount30mins()
    {
        return $this->downCount30mins;
    }

    /**
     * Set upCount30mins
     *
     * @param integer $upCount30mins
     *
     * @return HuobiCalcKline1min
     */
    public function setUpCount30mins($upCount30mins)
    {
        $this->upCount30mins = $upCount30mins;

        return $this;
    }

    /**
     * Get upCount30mins
     *
     * @return integer
     */
    public function getUpCount30mins()
    {
        return $this->upCount30mins;
    }

    /**
     * Set open60min
     *
     * @param string $open60min
     *
     * @return HuobiCalcKline1min
     */
    public function setOpen60min($open60min)
    {
        $this->open60min = $open60min;

        return $this;
    }

    /**
     * Get open60min
     *
     * @return string
     */
    public function getOpen60min()
    {
        return $this->open60min;
    }

    /**
     * Set close60min
     *
     * @param string $close60min
     *
     * @return HuobiCalcKline1min
     */
    public function setClose60min($close60min)
    {
        $this->close60min = $close60min;

        return $this;
    }

    /**
     * Get close60min
     *
     * @return string
     */
    public function getClose60min()
    {
        return $this->close60min;
    }

    /**
     * Set amountSum60mins
     *
     * @param string $amountSum60mins
     *
     * @return HuobiCalcKline1min
     */
    public function setAmountSum60mins($amountSum60mins)
    {
        $this->amountSum60mins = $amountSum60mins;

        return $this;
    }

    /**
     * Get amountSum60mins
     *
     * @return string
     */
    public function getAmountSum60mins()
    {
        return $this->amountSum60mins;
    }

    /**
     * Set downCount60mins
     *
     * @param integer $downCount60mins
     *
     * @return HuobiCalcKline1min
     */
    public function setDownCount60mins($downCount60mins)
    {
        $this->downCount60mins = $downCount60mins;

        return $this;
    }

    /**
     * Get downCount60mins
     *
     * @return integer
     */
    public function getDownCount60mins()
    {
        return $this->downCount60mins;
    }

    /**
     * Set upCount60mins
     *
     * @param integer $upCount60mins
     *
     * @return HuobiCalcKline1min
     */
    public function setUpCount60mins($upCount60mins)
    {
        $this->upCount60mins = $upCount60mins;

        return $this;
    }

    /**
     * Get upCount60mins
     *
     * @return integer
     */
    public function getUpCount60mins()
    {
        return $this->upCount60mins;
    }

    /**
     * Set amRecent3mins
     *
     * @param string $amRecent3mins
     *
     * @return HuobiCalcKline1min
     */
    public function setAmRecent3mins($amRecent3mins)
    {
        $this->amRecent3mins = $amRecent3mins;

        return $this;
    }

    /**
     * Get amRecent3mins
     *
     * @return string
     */
    public function getAmRecent3mins()
    {
        return $this->amRecent3mins;
    }

    /**
     * Set am3minTo60min
     *
     * @param string $am3minTo60min
     *
     * @return HuobiCalcKline1min
     */
    public function setAm3minTo60min($am3minTo60min)
    {
        $this->am3minTo60min = $am3minTo60min;

        return $this;
    }

    /**
     * Get am3minTo60min
     *
     * @return string
     */
    public function getAm3minTo60min()
    {
        return $this->am3minTo60min;
    }

    /**
     * Set amRecent60mins
     *
     * @param string $amRecent60mins
     *
     * @return HuobiCalcKline1min
     */
    public function setAmRecent60mins($amRecent60mins)
    {
        $this->amRecent60mins = $amRecent60mins;

        return $this;
    }

    /**
     * Get amRecent60mins
     *
     * @return string
     */
    public function getAmRecent60mins()
    {
        return $this->amRecent60mins;
    }

    /**
     * Set ctime
     *
     * @param \DateTime $ctime
     *
     * @return HuobiCalcKline1min
     */
    public function setCtime($ctime)
    {
        $this->ctime = $ctime;

        return $this;
    }

    /**
     * Get ctime
     *
     * @return \DateTime
     */
    public function getCtime()
    {
        return $this->ctime;
    }

    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }
}
